<template>
  <div id="container"></div>
</template>

<script setup lang="ts">
import { start } from "qiankun";
import { onMounted } from "vue";
onMounted(() => {
  if (!window.qiankunStarted) {
    window.qiankunStarted = true;
    start({
      sandbox: {
        experimentalStyleIsolation: true,
        // strictStyleIsolation: true
      }
    });
  }
});

declare global {
  interface Window {
    qiankunStarted: boolean;
  }
}
</script>
